package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库管理对象 lny_storage_out
 * 
 * @author CFL
 * @date 2024-04-28
 */
public class LnyStorageOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 出库编号 */
    private String dfsSn;

    /** 产品库存id */
    private Long proStrmId;

    /** 物料库存id */
    private Long matStrmId;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long dfsNum;

    /** 出库人 */
    @Excel(name = "出库人")
    private String userId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderSn;

    /** 车间任务编号 */
    @Excel(name = "车间任务编号")
    private String sptkSn;

    /** 领料清单id */
    @Excel(name = "领料清单id")
    private Long mldId;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private Integer dfsType;

    /** 出库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dfsDate;

    /** 出库状态 */
    @Excel(name = "出库状态")
    private Integer dfsState;

    /** 逻辑删除;0：存在；1：删除 */
    private Integer isDeleted;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新者 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedDate;

    /** 库房id */
    private Long strmId;

    /** 临时数量 */
    private Long tempNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDfsSn(String dfsSn) 
    {
        this.dfsSn = dfsSn;
    }

    public String getDfsSn() 
    {
        return dfsSn;
    }
    public void setProStrmId(Long proStrmId) 
    {
        this.proStrmId = proStrmId;
    }

    public Long getProStrmId() 
    {
        return proStrmId;
    }


    public Long getMatStrmId() {
        return matStrmId;
    }

    public void setMatStrmId(Long matStrmId) {
        this.matStrmId = matStrmId;
    }

    public void setDfsNum(Long dfsNum) 
    {
        this.dfsNum = dfsNum;
    }

    public Long getDfsNum() 
    {
        return dfsNum;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setOrderSn(String orderSn)
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn()
    {
        return orderSn;
    }

    public String getSptkSn() {
        return sptkSn;
    }

    public void setSptkSn(String sptkSn) {
        this.sptkSn = sptkSn;
    }

    public Long getMldId() {
        return mldId;
    }

    public void setMldId(Long mldId) {
        this.mldId = mldId;
    }

    public void setDfsType(Integer dfsType) 
    {
        this.dfsType = dfsType;
    }

    public Integer getDfsType() 
    {
        return dfsType;
    }
    public void setDfsDate(Date dfsDate) 
    {
        this.dfsDate = dfsDate;
    }

    public Date getDfsDate() 
    {
        return dfsDate;
    }
    public void setDfsState(Integer dfsState) 
    {
        this.dfsState = dfsState;
    }

    public Integer getDfsState() 
    {
        return dfsState;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }

    public Long getStrmId() {
        return strmId;
    }

    public void setStrmId(Long strmId) {
        this.strmId = strmId;
    }

    public Long getTempNum() {
        return tempNum;
    }

    public void setTempNum(Long tempNum) {
        this.tempNum = tempNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dfsSn", getDfsSn())
            .append("proStrmId", getProStrmId())
            .append("matStrmId", getMatStrmId())
            .append("dfsNum", getDfsNum())
            .append("userId", getUserId())
            .append("orderSn", getOrderSn())
            .append("dfsType", getDfsType())
            .append("dfsDate", getDfsDate())
            .append("dfsState", getDfsState())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedDate", getUpdatedDate())
            .append("remark", getRemark())
            .toString();
    }
}
